package com.ruyuan.commodity.enums;

/**
 * 商品是否自营的枚举类
 **/
public enum GodsIsSelfOperatedEnums {

    /**
     * 是否自营 0否 1是
     */
    SELF(1, "是"),

    OTHER(0, "否"),
    ;

    /**
     * 枚举值
     */
    private Integer code;

    /**
     * 描述信息
     */
    private String desc;

    GodsIsSelfOperatedEnums(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

}
